description = "默认布局页面,除去产品终端页，注册完成，购物车，一步支付页面，下单成功外的页面"
[account]
redirect = "account/profile"
paramCode = "code"
[catalog]
[session]
security = "all"

==
use Jason\Ccshop\Models\TraceCode;
function onStart() {
    $google_analyze_id = TraceCode::fetch('google_analyze_id');
    $facebook_remarketing_code_id = TraceCode::fetch('facebook_remarketing_code_id');
    if($facebook_remarketing_code_id){
        $this['facebook_remarketing_code_id'] = $facebook_remarketing_code_id;
    }
    if($google_analyze_id){
        $this['google_analyze_id'] = $google_analyze_id;
    }
}
==
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="description" content="{% placeholder meta_description default %}{{ catalog.app.meta_description }}{% endplaceholder %}">
	<meta name="keywords" content="{% placeholder meta_keywords default %}{{ catalog.app.meta_keywords }}{% endplaceholder %}">
	<meta name="author" content="{{ catalog.app.domain }}/">
	<meta name="google-site-verification" content="tIqpH2eTOevkDX4hzldojkiCjK-79FAEVzGV20n5ms0" />
	<title>{% placeholder page_title default type="text" %}{{ catalog.app.name }}{% endplaceholder %}</title>
	<link rel="shortcut icon" href="{{ 'assets/img/favicon.ico'|theme }}">
	<link rel="stylesheet" href="{{ 'assets/css/font-awesome.min.css'|theme }}">
	<link type="text/css" rel="stylesheet" href="{{ 'assets/css/etalage.css'|theme }}">
	<link type="text/css" rel="stylesheet" href="{{ 'assets/css/example3.css'|theme }}">
	<link rel="stylesheet" href="{{ 'assets/css/swiper.min.css'|theme }}">
	<link rel="stylesheet" href="{{ 'assets/css/bootstrap.min.css'|theme }}">
	<link rel="stylesheet" href="{{ 'assets/css/commen.css'|theme }}">
	<link rel="stylesheet" href="{{ 'assets/css/css.css'|theme }}">
</head>
<body>
{% partial 'common/head' %}
<!-- HEAD END -->

	<!--  -->
	
{% page %}

	<!--  -->
	<!-- FOOT START -->
	
{% partial 'common/footer' %}
	<div id="loading">
	    <div class="loading"><img src="{{ 'assets/img/loadingAnimation.gif'|theme }}" alt=""></div>
	</div>
	<div class="goTop"><img src="{{ 'assets/img/btn_page_top.png'|theme }}" alt=""></div>
	<script type="text/javascript" src="{{ 'assets/js/jquery-1.11.2.min.js'|theme }}"></script>
	<script src="{{ 'assets/js/jquery.etalage.min.js'|theme }}"></script>
	<script type="text/javascript" src="{{ 'assets/js/jquery.lazyload.js'|theme }}"></script>
	<script type="text/javascript" src="{{ 'assets/js/swiper.min.js'|theme }}"></script>
	<script type="text/javascript" src="{{ 'assets/js/bootstrap.min.js'|theme }}"></script>
	<script type="text/javascript" src="{{ 'assets/js/sweetalert2.min.js'|theme }}"></script>
	<script type="text/javascript" src="{{ 'assets/js/main.js'|theme }}"></script>

{% if google_analyze_id %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ google_analyze_id }}"></script>
<script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());
    gtag('config', '{{ google_analyze_id }}');
</script>
{% endif %}


{% if facebook_remarketing_code_id %}
<!-- Facebook Pixel Code -->
<script>
    !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
        n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
        n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
        t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
        document,'script','https://connect.facebook.net/en_US/fbevents.js');
    fbq('init', '{{ facebook_remarketing_code_id }}');
    fbq('track', 'PageView');
    {% placeholder fb_standard_event %}
</script>

<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id={{ facebook_remarketing_code_id }}&ev=PageView&noscript=1" /></noscript>
<!-- DO NOT MODIFY -->
<!-- End Facebook Pixel Code -->
{% endif %}

{% scripts %}
{% framework extras %}


<!-- Google Code for Remarketing Tag -->
<!--
Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. See more information and instructions on how to setup the tag on: http://google.com/ads/remarketingsetup
-->
<script type="text/javascript">
    {% placeholder google_tag_params %}
</script>
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 828115565;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/828115565/?guid=ON&amp;script=0"/>
</div>
</noscript>


</body>
</html>